package controllers.manager;

import play.mvc.Before;
import play.mvc.Controller;

public class UserLoginFilter extends Controller
{
    @Before(unless = { "manager.Manager.login", "manager.ShopItemController.getListAsHtml", "manager.Manager.userLogin" })
    public static void filter()
    {
        if (session.get("user") == null)
        {
            Manager.userLogin();
        }
    }
}
